/*
 * Created on 2004-9-26
 */
package hzjbbis.framework.xml;

/**
 * @since 1.0
 * @author lix
 */
public class XmlNodeTypeFactory {

    /**
     * @return element type
     */
    public static XmlNodeType elementType(TagName tagName) {
        return ElementType.getInstance(tagName);
    }

    /**
     * @return text type
     */
    public static XmlNodeType textType() {
        return TextType.getInstance();
    }

    /**
     * @return $NullObject, null type
     */
    public static XmlNodeType nullType() {
        return NullType.getInstance();
    }
    
    

}
